<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: Aug 22, 2009
  Time: 10:34:51 PM
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="js/jquery.highlight-3.js"></script>
<style type="text/css">
    .highlight { background-color: yellow }

</style>
<% String myfile = request.getParameter("file");
   String q = request.getParameter("q");
   //String terms[] q 
   
%>


<jsp:include page="<%= myfile %>"  />


<script type="text/javascript">

     $('body').highlight('<%= q %>').h;

</script>